include(../../Twitwar.pri)

TEMPLATE	=	lib
DEFINES		+=	TWITWAR_CORE_LIB
INCLUDEPATH	+=	..

CONFIG( debug,debug | release ) {
	TARGET	=	TwitWarCored
	DESTDIR	=	../../Debug
	LIBS	+=	-L../../Debug -lTwitWarUtilsd
}
else { 
	TARGET	=	TwitWarCore
	DESTDIR	=	../../Release
	LIBS	+=	-L../../Release -lTwitWarUtils
}

contains( DEFINES, SWF_EASTER_EGG) {
	CONFIG		+=	qaxcontainer
	RESOURCES	+=
}else{
	RESOURCES	+=	MainResource2.qrc
}

HEADERS	+=	twcore_global.h \
    plugin_internal/UIConfigWidget.h \
    plugin_internal/CreateNewContextDialog.h
#HEADERS	+=	twitwar_internal/ContextTabWidget.h
HEADERS	+=	MailCreatorDialog.h
HEADERS	+=	IPlugin.h
HEADERS	+=	IContext.h
HEADERS	+=	IConfigWidget.h
HEADERS	+=	TwitWar.h
HEADERS	+=	TwitWar_p.h
HEADERS	+=	PluginManager.h
HEADERS	+=	GlobalInputter.h
HEADERS	+=	PluginManager_p.h
HEADERS	+=	GlobalInputter_p.h
HEADERS	+=	plugin_internal/SilentClickButton.h
HEADERS	+=	plugin_internal/UrlShortener.h
HEADERS	+=	plugin_internal/ContextModel.h
HEADERS	+=	plugin_internal/TweetTextEdit.h
HEADERS	+=	plugin_internal/SettingDialog.h
HEADERS	+=	plugin_internal/MainConfigWidget.h
HEADERS	+=	plugin_internal/InputConfigWidget.h
HEADERS	+=	plugin_internal/TweetTextHighlighter.h
HEADERS	+=	plugin_internal/TweetContextButton.h
HEADERS	+=	plugin_internal/ContextConfigWidget.h
HEADERS	+=	twitwar_internal/Toast.h
HEADERS	+=	twitwar_internal/Notifier.h
HEADERS	+=	twitwar_internal/SwitchButton.h
HEADERS	+=	twitwar_internal/ToastGenerator.h

SOURCES	+=	TwitWar.cpp \
    plugin_internal/UIConfigWidget.cpp \
    plugin_internal/CreateNewContextDialog.cpp
#SOURCES	+=	twitwar_internal/ContextTabWidget.cpp
SOURCES	+=	MailCreatorDialog.cpp
SOURCES	+=	PluginManager.cpp
SOURCES	+=	GlobalInputter.cpp
SOURCES	+=	plugin_internal/UrlShortener.cpp
SOURCES	+=	plugin_internal/TweetTextEdit.cpp
SOURCES	+=	plugin_internal/InputConfigWidget.cpp
SOURCES	+=	plugin_internal/TweetTextHighlighter.cpp
SOURCES	+=	plugin_internal/ContextModel.cpp
SOURCES	+=	plugin_internal/SettingDialog.cpp
SOURCES	+=	plugin_internal/MainConfigWidget.cpp
SOURCES	+=	plugin_internal/ContextConfigWidget.cpp
SOURCES	+=	twitwar_internal/Toast.cpp
SOURCES	+=	twitwar_internal/Notifier.cpp
SOURCES	+=	twitwar_internal/SwitchButton.cpp
SOURCES	+=	twitwar_internal/ToastGenerator.cpp

FORMS	+=	GlobalInputter.ui \
    plugin_internal/UIConfigWidget.ui
FORMS	+=	plugin_internal/MainConfigWidget.ui
FORMS	+=	plugin_internal/InputConfigWidget.ui
#FORMS	+=	TwitWar.ui
#FORMS	+=	plugin_internal/ContentConfigWidget.ui
#FORMS	+=	plugin_internal/SettingDialog.ui
